package com.fhsk.file.common.enums;

/**
 * @author houruibo
 * @since 2020-08-06
 */
public enum RedisKeyEnum {
    //用户缓存
    USER("User:Cache:"),
    //用户的
    TOKEN("user:token:"),
    //接口重复提交验证
    REPEATED("interface:repeated"),
    //权限
    PERMISSION("Permission"),
    //角色的菜单缓存
    MENU_CACHE("Menu:Cache:"),
    //角色列表
    ROLELIST("RoleList"),
    //字典全部
    DICTIONARY("dictionary:"),
    //反向翻译
    DICTIONARY_REVERSE("dictionary:reverse:"),
    //字典可用
    DICTIONARY_AVAILABLE("dictionary:available:"),
    //角色权限缓存
    ROLE_PERMISSIONS("role:permissions"),
    //用户启用禁用
    USER_DISABLE("user:status:"),
    ;

    private final String value;

    RedisKeyEnum(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }



}
